CellRenderer.getPreferredWidthForHeight

Retrieves a cell renderers’s minimum and natural width if it were rendered to @widget with the specified @height.

class CellRenderer
void
getPreferredWidthForHeight

Parameters

widget Widget

the GtkWidget this cell will be rendering to

height int

the size which is available for allocation

minimumWidth int

location for storing the minimum size

naturalWidth int

location for storing the preferred size

Meta